.PHONY:all
all:PublishClient SubscribeClient

PublishClient:PublishClient.cpp
	 g++  $^ -o $@ -std=c++11 -lpaho-mqttpp3 -lpaho-mqtt3c -pthread

SubscribeClient:SubscribeClient.cpp
	 g++  $^ -o $@ -std=c++11 -lpaho-mqttpp3 -lpaho-mqtt3c -pthread

.PHONY:clean
clean:
	 rm -f PublishClient SubscribeClient